package com.lanxiao.cloud.modules.file.infrastructure.error;

import com.lanxiao.cloud.common.core.enums.ErrorType;

/**
 * @author ：qiaoliang
 * @date ：2021-10-25
 */
public enum UploadErrorType implements ErrorType {

  UPLOAD_TYPE_ERROR("目前不支持此类上传方式."),
  UPLOAD_ERROR("文件上传失败请检查文件格式.");

  private final String message;

  UploadErrorType(String message) {
    this.message = message;
  }

  @Override
  public String getMessage() {
    return message;
  }

}

